package cn.trasen.his.poc.std.api.emums;

import pro.shushi.pamirs.meta.annotation.Dict;
import pro.shushi.pamirs.meta.common.enmu.IEnum;

/**
 * @Description: 药品类型枚举类
 * @author: Jacob
 * @Date: 2024-11-28 14:04:02
 * @Company: 湖南创星科技股份有限公司
 */
@Dict(dictionary = DrugTypeEnum.DICTIONARY, displayName = "药品类型")
public enum DrugTypeEnum implements IEnum<Integer> {
    WESTERN_MEDICINE(1, "西药", "西药"),
    CHINESE_PATENT_DRUG(2, "中成药", "中成药"),
    CHINESE_HERBAL_MEDICINE(3, "中草药", "中草药"),
    MATERIALS_AND_SUPPLIES(4, "物资材料", "物资材料"),
    OTHERS(5, "其他", "其他"),
    ;

    public static final String DICTIONARY = "ts.his.DrugTypeEnum";

    private final int value;
    private final String displayName;
    private final String help;

    DrugTypeEnum(int value, String displayName, String help) {
        this.value = value;
        this.displayName = displayName;
        this.help = help;
    }

    public int getValue() {
        return value;
    }

    public String getDisplayName() {
        return displayName;
    }

    public String getHelp() {
        return help;
    }
}
